﻿using TTSIDAL;
using TTSModel;

namespace TTSBLL
{
    public class KCCSNUnion : BaseService<KCCSNUnionInfo>
    {
        private static readonly IKCCSNUnion dal = DALFactory.TTS_DataAccess.CreateKCCSNUnion();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public KCCSNUnionInfo KCCSNUnion_GetbyKCCSN1(string sn)
        {
            return dal.KCCSNUnion_GetbyKCCSN1(sn);
        }
        public KCCSNUnionInfo KCCSNUnion_GetbySN(string sn)
        {
            return dal.KCCSNUnion_GetbySN(sn);
        }
        public void KCCSNUnion_DeletebyKCCSN1(string sn,string storeprocedure)
        {
            dal.KCCSNUnion_DeletebyKCCSN1(sn, storeprocedure);
        }
    }
}
